* {
    font-family: Microsoft yahei !important;
}

.zoomDiv {
    z-index: 2;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 200px;
    height: 200px;
    background: #ffffff;
    border: 1px solid #CCCCCC;
    display: none;
    text-align: center;
    overflow: hidden;
}

.zoomMask {
    position: absolute;
    cursor: move;
    z-index: 1;
}

.content {
    margin: 10px auto 130px !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    @media all and (max-width: 640px) {
        & {
            margin: 2.1rem auto 2.2rem;
        }
    }
    .swiper-slide {
        width: 20%;
        height: 70px;
        border: 1px solid #ddd;
        text-align: center;
        img {
            max-width: 100%;
            max-height: 100%;
        }
    }
    .swiper-button-prev {
        top: 93% !important;
    }
    .swiper-button-next {
        top: 93% !important;
    }
    .swiper-pagination {
        top: 180px;
    }
}

.detail-swiper-mobile .swiper-slide {
    width: 100% !important;
    height: 200px;
    text-align: center;
    border: 0;
    padding-bottom: 20px;
    img {
        max-width: 100%;
        max-height: 100%;
    }
}

.more-mobile {
    width: 200px;
    color: #adadad;
    height: 35px;
    border: 1px solid #999;
    font-size: 15px;
    border-radius: 5px;
    background: #fff;
    margin-top: 10px;
}

.bar {
    color: #28aac5;
}

.color-red {
    color: red;
}

#detail {
    margin-top: 20px;
    .show-img {
        height: 350px;
        margin: 20px 0;
        box-shadow: 0 0 3px #ddd;
        // display: -webkit-flex;
        // display: flex;
        // align-items: center;
        // justify-content: center;
        img {
            max-width: 100%;
            max-height: 100%;
            display: block;
            margin: 0 auto;
        }
    }
    .detail-cont-title {
        label {
            font-size: 25px;
            margin: 20px 0;
        }
        p {
            color: #777;
            line-height: 24px;
            max-height: 350px;
        }
    }
    .detail-cont-num {
        padding: 20px 0px;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        margin: 30px 0;
        li {
            margin: 30px 0;
        }
        label {
            font-size: 16px;
            color: #777;
            width: 100px;
            font-weight: normal;
        }
    }
    .num-a {
        background: #cacaca;
        border-radius: 3px;
        font-size: 16px;
        color: #555;
        border: 0px;
        width: 31px;
        height: 31px;
        line-height: 31px;
    }
    .detail-cont-buy {
        margin-top: 40px;
    }
    .num-input {
        width: 35px;
        height: 31px;
        text-align: center;
        border-radius: 3px;
        border: 1px solid #28aac5;
        color: #28aac5;
        margin: 0 8px;
    }
    .add {
        border: 1px solid #28aac5;
        background: #28aac5;
        color: #fff;
        padding: 8px 15px;
        border-radius: 3px;
        font-weight: normal;
        margin-right: 10px;
        i {
            margin-right: 5px;
        }
    }
    .now-buy {
        border: 1px solid #28aac5;
        background: #fff;
        color: #28aac5;
        padding: 8px 33px;
        border-radius: 3px;
        font-weight: normal;
    }
    .notProduct {
        padding: 8px 33px;
    }
    .num-mobile .add {
        border: 1px solid #28aac5;
        background: #28aac5;
        color: #fff;
        width: 48%;
        padding: 0;
        height: 35px;
        text-align: center;
        border-radius: 3px;
        margin-right: 1%;
    }
    .num-mobile .now-buy {
        border: 1px solid #28aac5;
        background: #fff;
        color: #28aac5;
        width: 48%;
        padding: 0;
        height: 35px;
        text-align: center;
        border-radius: 3px;
    }
    .num-mobile .num-input {
        margin: 0 5px;
    }
    .detail-cont-moblie .detail-cont-title {
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .recommend-mobile {
        margin-top: 10px;
        margin-bottom: 10px;
        .panel-group {
            .panel-default {
                border: none;
            }
            .panel-heading {
                background-color: #fff;
                border-color: #fff;
                padding: 0;
            }
            .panel-body {
                border-top: none;
                padding: 0px;
            }
        }
    }
    .recommend-mobile .recommend-content-detail {
        text-align: left;
        border: 1px solid #ccc;
        margin: 0.6%;
        padding: 0.4em;
        display: inline-block;
        width: 48%;
        .title {
            overflow-wrap: normal;
            width: 50%;
            white-space: nowrap;
            text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            overflow: hidden;
            display: inline-block;
        }
        p {
            margin: 10px 0;
            font-size: 12px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            color: #767676;
        }
        .detail-img {
            height: 6.3em;
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: strecth;
            align-items: strecth;
            -webkit-justify-content: center;
            justify-content: center;
            img {
                max-width: 100%;
                max-height: 100%;
                min-height: 100%;
            }
        }
    }
    .recommend {
        text-align: center;
        margin-top: 40px;
        .recommend-bar {
            color: #28aac5;
            text-align: center;
            font-size: 20px;
        }
        .recommend-content {
            text-align: center;
            .title {
                font-size: 14px;
                overflow-wrap: normal;
                width: 80%;
                white-space: nowrap;
                text-overflow: ellipsis;
                -o-text-overflow: ellipsis;
                overflow: hidden;
                display: inline-block;
            }
            .detail-img {
                height: 8.7em;
                display: -webkit-flex;
                display: flex;
                -webkit-align-items: strecth;
                align-items: strecth;
                -webkit-justify-content: center;
                justify-content: center;
                img {
                    display: inline-block;
                    max-width: 100%;
                    max-height: 100%;
                }
            }
        }
        .recommend-content-detail {
            text-align: left;
            border: 1px solid #ccc;
            margin: 0.6%;
            padding: 10px;
            display: inline-block;
            width: 31%;
            padding: 0.4em;
            p {
                margin: 10px 0;
                font-size: 12px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                color: #767676
            }
        }
        .panel-group {
            .panel-default {
                border: none;
            }
            .panel-heading {
                background-color: #fff;
                border-color: #fff;
                padding: 0px;
            }
            .panel-body {
                border-top: none;
                padding: 0px;
            }
        }
    }
    .commodity-detail {
        margin-top: 15px;
        .nav-tabs {
            border-bottom: 2px solid #28aac5 !important;
            li a {
                margin-bottom: 3px;
                color: #555 !important;
                padding: 10px 30px;
            }
            li.active a,
            {
                background: #28aac5;
                color: #fff !important;
                border-radius: 3px;
                padding: 10px 30px;
            }
        }
        .tab-content {
            padding: 20px 0;
        }
        img {
            width: 100%!important;
            height: auto!important;
        }
    }
    .more {
        a {
            color: #9E9E9E;
        }
    }
    .stock {
        text-align: center;
        color: #aaa;
        padding-top: 5px;
        margin-left: 10px;
    }
}

.popover-title {
    color: #fff;
    background-color: #28aac5 !important;
}

.pc-swiper-left-9 {
    left: 9%;
}

.swiper-button-next,
.swiper-button-prev {
    width: 22px !important;
    background-size: 22px 44px !important;
}

@media all and (max-width: 640px) {
    .num-a {
        height: 31px;
        line-height: 31px;
        position: relative;
        top: 1px;
        width: 31px;
        padding: 0 !important;
    }
    .num-input {
        margin: 0 !important;
    }
    .num-mobile .col-xs-5 {
        padding-right: 0;
    }
    .recommend-mobile {
        text-align: center;
    }
    .recommend-bar {
        color: #28aac5;
        text-align: center;
        font-size: 20px;
    }
    .detail-swiper-mobile .swiper-slide {
        width: 100% !important;
        height: 15em;
        text-align: center;
        border: 0;
        padding-bottom: 0px;
        img {
            display: block;
            height: 15em;
            max-width: 100%;
            max-height: 100%;
        }
    }
    #detail {
        margin-top: 0px;
    }
    #detail .detail-cont-title label {
        margin: 0px;
    }
}